package com.example.entity;

import java.math.BigDecimal;

public class ShopCar {
    private int shopid;
    private int gid;
    private int uid;
    private String gname;
    private BigDecimal gprice;
    private String gtype;
    private String img;
    private Goods goods;
    private User user;

    @Override
    public String toString() {
        return "ShopCar{" +
                "shopid=" + shopid +
                ", gid=" + gid +
                ", uid=" + uid +
                ", gname='" + gname + '\'' +
                ", gprice=" + gprice +
                ", gtype='" + gtype + '\'' +
                ", img='" + img + '\'' +
                ", goods=" + goods +
                ", user=" + user +
                ", selected='" + selected + '\'' +
                '}';
    }

    public String getSelected() {
        return selected;
    }

    public void setSelected(String selected) {
        this.selected = selected;
    }

    private String selected;

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public int getShopid() {
        return shopid;
    }

    public void setShopid(int shopid) {
        this.shopid = shopid;
    }

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public BigDecimal getGprice() {
        return gprice;
    }

    public void setGprice(BigDecimal gprice) {
        this.gprice = gprice;
    }

    public String getGtype() {
        return gtype;
    }

    public void setGtype(String gtype) {
        this.gtype = gtype;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }
}
